package com.tensquare.chat.client;
/*
 *ClassName:FriendClient
 *Description:
 *@author:可爱的大鸭子
 */

import entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Component
@FeignClient(value = "tensquare-friend")
public interface FriendClient {
    //查找我的好友列表
    @RequestMapping(value = "/friend/findMyFriends/{userId}",method = RequestMethod.GET)
    public Result findMyFriends(@PathVariable("userId") String userId);
}
